package com.ruoyi.syf.common.constant;

/**
 * 隐患来源
 */
public enum DangerSource {

    EVERYDAY("1", "日常排查"),
    COMPREHENSIVE("2", "综合性排查"),
    SPECIALTY("3", "专业性排查"),
    SEASON("4", "季节性排查"),
    HOLIDAYS("5", "重点时段及节假日前排查"),
    ACCIDENT("6", "事故类比排查"),
    WORK_RESUMPTION("7", "复产复工前排查"),
    OUTSOURCING("8", "外聘专家诊断式排查"),
    LOSE_EFFICACY("9", "管控措施失效"),
    OTHER("10", "其他");

    private String code;
    private String name;

    DangerSource(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
